#include "ros/ros.h"
#include <ros1_protobuf_msg_bridge/msg/Header.h>

void subHandle1(const ros1_protobuf_msg_bridge::HeaderConstPtr &msg) {
    ROS_INFO("I heard data: [%s]", msg->frame_id().c_str());
}
int main(int argc, char **argv) {
    ros::init(argc, argv, "listener");
    ros::NodeHandle n;
    ros::Subscriber sub = n.subscribe("t_pub1", 1000, subHandle1);

    ros::spin();

    return 0;
}
